#ifndef WIDGET_H
#define WIDGET_H

#include <stdlib.h>
#include <QWidget>
#include <QPushButton>

namespace Ui {
class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = 0);
    ~Widget();

private:
    Ui::Widget *ui;
    QPushButton *hitButton;
    QPushButton *connButton;
    bool connFlag;
signals:
    void beHit();
public slots:
    void belicked();
    void runAway();
};

#endif // WIDGET_H
